/*
*
* ProductLibProductFromExample.java
* @author yaokan
* @date 2020-11-26 14:32:36
*/
package com.steel.yfmall.cloud.assistant.po.goods;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductLibProductFromExample {
    /**
     * product_lib_product_from
     */
    protected String orderByClause;

    /**
     * product_lib_product_from
     */
    protected boolean distinct;

    /**
     * product_lib_product_from
     */
    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    private String groupByClause;

    private String selectFields;

    /**
     * 构造查询条件:product_lib_product_from
     * @Title: ProductLibProductFromExample
     * @Description: ( )
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public ProductLibProductFromExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 设置排序字段:product_lib_product_from
     * @Title: setOrderByClause
     * @Description: ( 设置排序字段 )
     * @param 参数说明 类型:String	名称:orderByClause 排序字段
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * 获取排序字段:product_lib_product_from
     * @Title: getOrderByClause
     * @Description: ( 获取排序字段 )
     * @return 返回类型 java.lang.String
     * @date 2020-11-26 14:32:36
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * 设置过滤重复数据:product_lib_product_from
     * @Title: setDistinct
     * @Description: ( 设置过滤重复数据 )
     * @param 参数说明 类型:boolean	名称:distinct 是否过滤重复数据
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 是否过滤重复数据:product_lib_product_from
     * @Title: isDistinct
     * @Description: ( 是否过滤重复数据 )
     * @return 返回类型 boolean
     * @date 2020-11-26 14:32:36
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 获取当前的查询条件实例:product_lib_product_from
     * @Title: getOredCriteria
     * @Description: ( 获取当前的查询条件实例 )
     * @return 返回类型 java.util.List<Criteria>
     * @date 2020-11-26 14:32:36
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *:product_lib_product_from
     * @Title: or
     * @Description: ( )
     *
     * @param 参数说明 类型:Criteria	名称:criteria 过滤条件实例
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *:product_lib_product_from
     * @Title: or
     * @Description: ( )
     *
     * @return 返回类型 Criteria
     * @date 2020-11-26 14:32:36
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 创建一个查询条件:product_lib_product_from
     * @Title: createCriteria
     * @Description: ( 创建一个查询条件 )
     * @return 返回类型 Criteria
     * @date 2020-11-26 14:32:36
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 内部构建查询条件对象:product_lib_product_from
     * @Title: createCriteriaInternal
     * @Description: ( 内部构建查询条件对象 )
     * @return 返回类型 Criteria
     * @date 2020-11-26 14:32:36
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除查询条件:product_lib_product_from
     * @Title: clear
     * @Description: ( 清除查询条件 )
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void limit(Integer offset, Integer limit) {
        this.offset = offset;
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = groupByClause;
    }

    public String getGroupByClause() {
        return groupByClause;
    }

    public void setSelectFields(String selectFields) {
        this.selectFields = selectFields;
    }

    public String getSelectFields() {
        return selectFields;
    }

    /**
     * @title product_lib_product_from表的实体类
     * @description product_lib_product_from
     * @version 1.0
     * @author yaokan
     * @date 2020-11-26 14:32:36
     */
    protected abstract static class GeneratedCriteria implements java.io.Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("category_id is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(Integer value) {
            addCriterion("category_id =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(Integer value) {
            addCriterion("category_id <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(Integer value) {
            addCriterion("category_id >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("category_id >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(Integer value) {
            addCriterion("category_id <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("category_id <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<Integer> values) {
            addCriterion("category_id in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<Integer> values) {
            addCriterion("category_id not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("category_id between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("category_id not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andProductFormNameIsNull() {
            addCriterion("product_form_name is null");
            return (Criteria) this;
        }

        public Criteria andProductFormNameIsNotNull() {
            addCriterion("product_form_name is not null");
            return (Criteria) this;
        }

        public Criteria andProductFormNameEqualTo(String value) {
            addCriterion("product_form_name =", value, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameNotEqualTo(String value) {
            addCriterion("product_form_name <>", value, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameGreaterThan(String value) {
            addCriterion("product_form_name >", value, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameGreaterThanOrEqualTo(String value) {
            addCriterion("product_form_name >=", value, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameLessThan(String value) {
            addCriterion("product_form_name <", value, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameLessThanOrEqualTo(String value) {
            addCriterion("product_form_name <=", value, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameLike(String value) {
            addCriterion("product_form_name like", value, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameNotLike(String value) {
            addCriterion("product_form_name not like", value, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameIn(List<String> values) {
            addCriterion("product_form_name in", values, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameNotIn(List<String> values) {
            addCriterion("product_form_name not in", values, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameBetween(String value1, String value2) {
            addCriterion("product_form_name between", value1, value2, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormNameNotBetween(String value1, String value2) {
            addCriterion("product_form_name not between", value1, value2, "productFormName");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeIsNull() {
            addCriterion("product_form_code is null");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeIsNotNull() {
            addCriterion("product_form_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeEqualTo(String value) {
            addCriterion("product_form_code =", value, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeNotEqualTo(String value) {
            addCriterion("product_form_code <>", value, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeGreaterThan(String value) {
            addCriterion("product_form_code >", value, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_form_code >=", value, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeLessThan(String value) {
            addCriterion("product_form_code <", value, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeLessThanOrEqualTo(String value) {
            addCriterion("product_form_code <=", value, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeLike(String value) {
            addCriterion("product_form_code like", value, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeNotLike(String value) {
            addCriterion("product_form_code not like", value, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeIn(List<String> values) {
            addCriterion("product_form_code in", values, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeNotIn(List<String> values) {
            addCriterion("product_form_code not in", values, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeBetween(String value1, String value2) {
            addCriterion("product_form_code between", value1, value2, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductFormCodeNotBetween(String value1, String value2) {
            addCriterion("product_form_code not between", value1, value2, "productFormCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameIsNull() {
            addCriterion("product_category_sales_name is null");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameIsNotNull() {
            addCriterion("product_category_sales_name is not null");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameEqualTo(String value) {
            addCriterion("product_category_sales_name =", value, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameNotEqualTo(String value) {
            addCriterion("product_category_sales_name <>", value, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameGreaterThan(String value) {
            addCriterion("product_category_sales_name >", value, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameGreaterThanOrEqualTo(String value) {
            addCriterion("product_category_sales_name >=", value, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameLessThan(String value) {
            addCriterion("product_category_sales_name <", value, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameLessThanOrEqualTo(String value) {
            addCriterion("product_category_sales_name <=", value, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameLike(String value) {
            addCriterion("product_category_sales_name like", value, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameNotLike(String value) {
            addCriterion("product_category_sales_name not like", value, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameIn(List<String> values) {
            addCriterion("product_category_sales_name in", values, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameNotIn(List<String> values) {
            addCriterion("product_category_sales_name not in", values, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameBetween(String value1, String value2) {
            addCriterion("product_category_sales_name between", value1, value2, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesNameNotBetween(String value1, String value2) {
            addCriterion("product_category_sales_name not between", value1, value2, "productCategorySalesName");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeIsNull() {
            addCriterion("product_category_sales_code is null");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeIsNotNull() {
            addCriterion("product_category_sales_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeEqualTo(String value) {
            addCriterion("product_category_sales_code =", value, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeNotEqualTo(String value) {
            addCriterion("product_category_sales_code <>", value, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeGreaterThan(String value) {
            addCriterion("product_category_sales_code >", value, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_category_sales_code >=", value, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeLessThan(String value) {
            addCriterion("product_category_sales_code <", value, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeLessThanOrEqualTo(String value) {
            addCriterion("product_category_sales_code <=", value, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeLike(String value) {
            addCriterion("product_category_sales_code like", value, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeNotLike(String value) {
            addCriterion("product_category_sales_code not like", value, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeIn(List<String> values) {
            addCriterion("product_category_sales_code in", values, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeNotIn(List<String> values) {
            addCriterion("product_category_sales_code not in", values, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeBetween(String value1, String value2) {
            addCriterion("product_category_sales_code between", value1, value2, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andProductCategorySalesCodeNotBetween(String value1, String value2) {
            addCriterion("product_category_sales_code not between", value1, value2, "productCategorySalesCode");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("create_user like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("create_user not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
    }

    /**
     * product_lib_product_from
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * @title product_lib_product_from表的实体类
     * @description product_lib_product_from
     * @version 1.0
     * @author yaokan
     * @date 2020-11-26 14:32:36
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
